projects
/
mathgl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c431af7
)
Imported Upstream version 2~rc2+svn364
author
Dimitrios Eftaxiopoulos
<eftaxi12@otenet.gr>
Thu, 15 Mar 2012 16:50:06 +0000
(18:50 +0200)
committer
Dimitrios Eftaxiopoulos
<eftaxi12@otenet.gr>
Thu, 15 Mar 2012 16:50:06 +0000
(18:50 +0200)
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index 71efbc4422042118045a058c00c9814ded4e2575..91d7512a05e381f0b55ff0c15ef4ad321901ae9a 100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-79,11
+79,11
@@
if(use_gif)
endif(use_gif)
if(use_hdf5 OR use_hdf5_18)
- target_link_libraries(mgl ${HDF5_LIB})
+ target_link_libraries(mgl ${HDF5_LIB
RARIES
})
add_definitions(-DHAVE_HDF5)
- if(
use_hdf5
)
+ if(
NOT use_hdf5_18
)
add_definitions(-DH5_USE_16_API)
- endif(
use_hdf5
)
+ endif(
NOT use_hdf5_18
)
include_directories(${HDF5_INCLUDE_DIR})
endif(use_hdf5 OR use_hdf5_18)